package medical_application;
/** CSIS 343 Group 2 Course Project
 *  @authors Agnes Oliveira, Liane Heidemann, Daniel Schraufnagel, Matthew Lee
 */

/**
 *  Patient class containing contstructors, event handlers and data members
 */
public class Patient{
	private String firstV, middleV, lastV, addressV, scriptsV, insuranceV, allergiesV,
	dobV, ageV, phoneV;

	public Patient(){
		firstV = "";
		middleV = "";
		lastV = "";
		addressV = "";
		scriptsV = "";
		allergiesV = "";
		insuranceV = "";
		dobV = "";
		ageV = "";
		phoneV = "";
	}//default constructor
	
	public Patient(String firstArg, String middleArg, String lastArg, String addressArg, 
			String insuranceArg, String allergiesArg, String scriptsArg, String dobArg, String ageArg, String phoneArg){
		firstV = firstArg;
		middleV = middleArg;
		lastV = lastArg;
		addressV = addressArg;
		insuranceV = insuranceArg;
		allergiesV = allergiesArg;
		scriptsV = scriptsArg;
		dobV = dobArg;
		ageV = ageArg;
		phoneV = phoneArg;	
	}//alternate constructor
	
	/* get methods and set methods */
	public String getFirst(){
		return firstV;
	}
	public String getMiddle(){
		return middleV;
	}
	public String getLast(){
		return lastV;
	}
	public String getAddress(){
		return addressV;
	}
	public String getInsurance(){
		return insuranceV;
	}
	public String getAllergies(){
		return allergiesV;
	}
	public String getScripts(){
		return scriptsV;
	}
	public String getDOB(){
		return dobV;
	}
	public String getAge(){
		return ageV;
	}
	public String getPhone(){
		return phoneV;
	}
	public void setFirst(String arg){
		this.firstV = arg;
	}
	public void setMiddle(String arg){
		this.middleV = arg;
	}
	public void setLast(String arg){
		this.lastV = arg;
	}
	public void setAddress(String arg){
		this.addressV = arg;
	}
	public void setInsurance(String arg){
		this.addressV = arg;
	}
	public void setAllergies(String arg){
		this.allergiesV = arg;
	}
	public void setScripts(String arg){
		this.scriptsV = arg;
	}
	public void setDOB(String arg){
		this.dobV = arg;
	}
	public void setAge(String arg){
		this.ageV = arg;
	}
	public void setPhone(String arg){
		this.phoneV = arg;
	}
	public String toString(){
		return this.lastV + ", " + this.firstV + ", " + this.dobV;
	}
}//end of class